﻿<UserControl x:Class="LFSRecord2.View.TimelineStructures.TimelinePointer"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             Width="13" Height="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Grid}}, Path=ActualHeight}"
             d:DesignHeight="300" d:DesignWidth="13"
             Name="theControl">
    <UserControl.Resources>
        <BitmapImage x:Key="TimelinePointer" UriSource="pack://application:,,,/data/bitmaps/icons/TimelinePointer.png" />
    </UserControl.Resources>
    <Grid>
        <Image Source="{StaticResource TimelinePointer}" Stretch="None" Width="13" Height="18" VerticalAlignment="Top" HorizontalAlignment="Left" SnapsToDevicePixels="True" />
        <Line X1="6.5" Y1="20" X2="6.5" Y2="{Binding ElementName=theControl, Path=Height}" Stroke="#FF505050" StrokeThickness="1" IsHitTestVisible="False" />
    </Grid>
</UserControl>
